]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
WorkspacesView: don't use clutter_actor_reparent()
authorGiovanni Campagna <gcampagna@src.gnome.org>
Sun, 16 Dec 2012 23:45:43 +0000 (00:45 +0100)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Tue, 18 Dec 2012 15:00:54 +0000 (16:00 +0100)
It's deprecated and in this case is not needed because at that point
the actor hasn't been parented yet.

https://bugzilla.gnome.org/show_bug.cgi?id=688234

js/ui/workspacesView.js

index 4d22f352f9b77b33853a03fbefb4dbc04b767056..2fc3fb8a8cd343465f9d1f7801bb367790c2dee9 100644 (file)
@@ -69,7 +69,7 @@ const WorkspacesView = new Lang.Class({
 
         // Add workspace actors
         for (let w = 0; w < global.screen.n_workspaces; w++)
-            this._workspaces[w].actor.reparent(this.actor);
+            this.actor.add_actor(this._workspaces[w].actor);
         this._workspaces[activeWorkspaceIndex].actor.raise_top();
 
         this._extraWorkspaces = [];